home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / TOOLBOOK / IDC136.ZIP / SAMPLER.ZIP / IDC_136.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1993-12-23  |  189KB  |  4,105 lines

  1. $Master$
  2. $Master$
  3. -- This 
  4. copied 
  5. every 
  6. that 
  7. -- can be 
  8. Can we 
  9. unnecessary?
  10. cue n
  11. Prompt "Move the 
  12. BEGINNING 
  13. . Then CLICK 
  14. Smouse 
  15. INow 
  16. IEND 
  17. Error "System error :: Invalid 
  18. umber"
  19. 4markCopyText
  20. firstchar 
  21. countchars(
  22. lastchar
  23. CRLF & 
  24. "Notes"
  25.             Send 
  26. Second point must be 
  27. clearPrompt
  28.  loc,t
  29. t)+2 
  30.         -- The +2 
  31. which separates lines
  32. mouseEnter
  33. buttonUp
  34. mouseLeave
  35. countchars
  36. 'Prompt
  37. Move the pointer to the BEGINNING of the target text. Then CLICK the left mouse button.
  38. 'Prompt
  39. Now move the pointer to the END of the target text. Then CLICK the left mouse button.
  40. Error
  41. System error :: Invalid cue number
  42. mouseEnter
  43. firstchar
  44. markCopyText
  45. buttonUp
  46. textFromPoint
  47. firstchar
  48. countchars
  49. firstchar
  50. firstchar
  51. countchars
  52. firstchar
  53. firstchar
  54. Notes
  55. 'Prompt
  56. Second point must be after first point - start again.
  57. clearPrompt
  58. Notes
  59. firstchar
  60. lastchar
  61. markCopyText
  62. countchars
  63. mouseLeave
  64. markCopyText
  65. $Master$
  66. $Master$
  67. $Master$
  68. $Master$
  69. $Master$
  70. 4compiled,protected,created,remote
  71. path(
  72. & "sys136.tbk"
  73. setupWindow 
  74. -- so that handlers can distinguish
  75. setconstants
  76. setoptions
  77. setcompilepages
  78. "Version" 
  79. . -- determine which 
  80. have 
  81. be deleted 
  82. a,backgrounds
  83. lastb
  84. oneof(b,"$Compile$,$Standard$") 
  85. "$Master$"
  86. compilePages
  87. addtags t
  88. ,noendreq
  89. ) > 1 
  90. -- Traps
  91. -- catches $
  92. "MASTER 
  93. " && 
  94. "Label" 
  95. localtags -- Format should 
  96. initialize -- sets 
  97. necessary)
  98. -- Handlers used 
  99. Hformats during compilation
  100. makeNewPage n
  101. uses u
  102. optional u
  103. 4optionalhandlers
  104. -- Text processing
  105. NewPara
  106. 4temp,pstyle,mainelement,para_tag
  107. "$Scripts$" -- 
  108. "newline"
  109. "blank"
  110. "indent"
  111. - & TAB
  112. preheading h
  113. 4hbefore,
  114. headings,
  115. caseheading h
  116. 4hcase,
  117. postheading h
  118. 4hafter,
  119. makeList params,fld,terminators
  120. 4item_tag,list_tag,bullet,
  121. lasttag
  122. "dash"
  123. "star"
  124. "plus"
  125. "other"
  126. asciiToChar(
  127. "$TextOptions$") 
  128. beforeHypertext 
  129. fld -- lbegin
  130. done 
  131. Xmark
  132. processText 
  133. close(
  134. textstring() -- 
  135. tagstring()
  136. makeAnchor destination,
  137. phrase 
  138. stored 
  139. 9 -> the 
  140.     -- The 
  141. appended 
  142. 4rogue,
  143. ,anchorstyle,remark_tag
  144. fld) 
  145.     -- Note 
  146. Jfew 
  147.     -- subsequently further 
  148. Tare 
  149.     -- extended 
  150. include those 
  151. Trepeatedly.
  152. To avoid 
  153. added 
  154.     later.
  155. foregoing 
  156. (properly) be a call 
  157. Vs+1 
  158. " && 
  159. -- links 
  160. (potentially) hidden
  161. hiddenlinks 
  162. createHotWord
  163. findName(
  164. ErrorMessage "Cannot 
  165. /" && 
  166. fillscript(
  167. -- remarks 
  168. treated 
  169. -- It would be possible 
  170. a different.
  171. -- way (
  172. %another 
  173. example) 
  174. Hallowing authors
  175. specify how 
  176.     be handled.
  177. B"Popup" 
  178. checkobject "
  179. 7,"Group", "
  180. " && 
  181. findFormat f
  182. f & "
  183. errorMessage "no 
  184. specified 
  185. " && f
  186. "Trace" 
  187. "$Control$"
  188. Plaintext 
  189. tidyText fld
  190. BlanksText 
  191. BlankswithDistractorsText 
  192. "BD",
  193. "HN",
  194.     -- See 
  195. explain
  196. need 
  197. tmessage 
  198. also 
  199. where 
  200.     -- called recursively
  201. "HN",
  202. `    ors,textcase
  203. i/phrases
  204. c"H" => hypertext; "N" => notes; "B" => blanks
  205.  "D" => distractors
  206. terminate 
  207. active_tag,note_tag,dest_attr,note_symbol,
  208. ,emphasis_tag
  209. 4hstyle,
  210. estyle,ecase,
  211. lank_tag,distractor_tag
  212. setcase(
  213. tname
  214.             -- 
  215. znothing
  216. ~("H",
  217. xallowed 
  218. attribute(
  219.  && "must be 
  220. Can't 
  221. ~("N",
  222.  && "
  223. blank_tag
  224. ~("B",
  225. contents 
  226. makeBlank 
  227. ~("D",
  228. makeDistractor 
  229. ) -- 
  230. could be made a separate 
  231. will be removed 
  232. makeContents 
  233. Vb+1 
  234. Vb+1 
  235. " && 
  236. Vb+1 
  237. " && 
  238. elaborated 
  239. Illegal tag"
  240. Ucauses a general protection fault: replaced 
  241. ttwo lines
  242. blankbegin 
  243. & blankmiddle 
  244. & blankend 
  245. "unchanged"
  246. "title"
  247. "sentence"
  248. tidystring s
  249. checkforscrollbar 
  250. result
  251. makePopup 
  252. popups 
  253. implemented does 
  254. styles
  255. transferred 
  256. such attributes 
  257. lost.
  258. pomitted."
  259.             -- 
  260.             Send 
  261. illegal 
  262. " && 
  263. "$Shared$"
  264. SGML 
  265.  -- reads up 
  266. beginning 
  267. 4inputFile,
  268. CR & LF 
  269. o > 0 
  270. Ro+1 
  271.  entities
  272. substitute(
  273.  s -- This 
  274. 4ero,refc
  275. Vb+1 
  276. f,r) 
  277. entityvalue(
  278. l & v & 
  279. textlineCount(
  280. "Entities" 
  281.  holds most recently 
  282. useful 
  283. beforeHyperText has been 
  284. missing" && 
  285.  && "
  286. extra" && 
  287. checkEmpty 
  288. "!--"
  289. "!ENTITY"
  290. skip 
  291.             -- 
  292. means 
  293.  declarations 
  294.  only occur
  295.             -- 
  296. valid 
  297. shriek
  298. removeComments(t)
  299.  t -- 
  300.  a tag 
  301. a comma-separated 
  302. spaces
  303. converttoitems(t)
  304. "--" 
  305. butFirst(w) 
  306. "--" 
  307. comment incorrectly 
  308. butfirst(w))
  309.  a,pt -- 
  310. processed 
  311. ~("=",
  312. eq-1 
  313. Veq+1 
  314. ) -- 
  315.  assignment cannot 
  316. 4endchar
  317. -- Dictionary routines
  318. addEntry n,
  319. n & "," & 
  320.  & e & 
  321. addName n,
  322. ,"Names",e
  323. & "." 
  324. " && 
  325. & "." 
  326. p" && n && "
  327. already 
  328. w"" && m
  329. addImage i,e
  330. findImage(i)
  331. y,"Images",e
  332. p" && i && "
  333. image" && 
  334. findEntry(n,"
  335. ) n,f
  336. checkexists p -- 
  337. &probably be 
  338. '" & p & "' 
  339. '" & p & "' 
  340. -- Utilities
  341. anchorAdjective
  342. "boxed"
  343. & "ed"
  344. & "d"
  345. " && 
  346. permanentAnchors
  347. 7,italics,
  348. 4errorcount,
  349. F-- scanning
  350. ScanErrorMessage c 
  351. "** ERROR:" && c & 
  352. ~ > 30 
  353. "** ABORTED: Too many errors" & 
  354. "TOO MANY ERRORS!" 
  355. default
  356. ( i,l
  357.     -- returns 
  358. itemnumber(i,l)
  359. l ( 0 
  360. xfound)
  361. itemize(s)
  362. ,f)>0 
  363. quoted(s)
  364. f & "," & 
  365. V    s))
  366. Vq+1 
  367.  quotation 
  368. Vq+1 
  369. s & "," 
  370. i1 & 
  371. & i2 & 
  372. & i3 & 
  373.   s,l
  374. ~("%",s) 
  375. Rp+1 
  376. 6 n,t,l
  377. xverifyobject(n,t,l) 
  378. t && 
  379. & n & 
  380. C n,t,l
  381. " && l && "
  382. addpagelist i,n -- adds 
  383. (i) [i may be a 
  384. ~("\",f) 
  385. 4currentpage
  386. F-- Not a 
  387. getImage n,w,a,f,g
  388. -- width 
  389. border
  390. -- alignment: "tl"=
  391. S"tr"=
  392. " bl"=
  393. S"br"=
  394. frame -> 
  395. (containing 
  396. same 
  397. n && "
  398. xknown."
  399. -- Frame 
  400. x on 
  401.     importGraphic i
  402. Q&t load graphic file" && i
  403. r$failed 
  404. bp - 
  405. bp - 
  406. depth
  407. (y2+y1)/2-
  408. (x2+x1)/2-
  409. -- i.e. 
  410. drawdirect 
  411. l%P!E
  412. x&_UR
  413. BlankswithDistractorsText
  414. localtags
  415. Hypertext
  416. beforeHypertext
  417. initialize
  418. processText
  419. makeNewPage
  420. makeBlank
  421. makeDistractor
  422. enterBook
  423. tidyText
  424. makePopup
  425. checkEmpty
  426. addtags
  427. entity
  428. optional
  429. addEntry
  430. makeList
  431. addName
  432. enterPage
  433. addImage
  434. checkexists
  435. makeAnchor
  436. ErrorMessage
  437. checkobject
  438. setcompilepages
  439. author
  440. Plaintext
  441. previous
  442. addpagelist
  443. BlanksText
  444. makeContents
  445. getImage
  446. entityvalue
  447. tagstring
  448. findFormat
  449. process
  450. removeComments
  451. NewPara
  452. attribute
  453. setcase
  454. close
  455. findName
  456. caseheading
  457. findImage
  458. findEntry
  459. tidystring
  460. destination
  461. anchorAdjective
  462. checkforscrollbar
  463. permanentAnchors
  464. oneof
  465. itemnumber
  466. preheading
  467. converttoitems
  468. textstring
  469. itemize
  470. quoted
  471. substitute
  472. butFirst
  473. fillscript
  474. postheading
  475. verifyobject
  476. enterBook
  477. sys136.tbk
  478. setupWindow
  479. 7:setconstants
  480. setoptions
  481. setcompilepages
  482. Version
  483. compiled
  484. protected
  485. created
  486. remote
  487. setcompilepages
  488. $Compile$,$Standard$
  489. oneof
  490. $Master$
  491. compilePages
  492. lastb
  493. compilepages
  494. backgrounds
  495. addtags
  496. oneof
  497. oneof
  498. noendreq
  499. enterPage
  500. $Master$
  501. MASTER for
  502. Label
  503. localtags
  504. initialize
  505. makeNewPage
  506. y5newPage
  507. xroptional
  508. optional
  509. oneof
  510. optionalhandlers
  511. NewPara
  512. header
  513. o' option
  514. $Scripts$
  515. newline
  516. blank
  517. indent
  518. pstyle
  519. mainelement
  520. para_tag
  521. preheading
  522. header
  523. o' option
  524. $Scripts$
  525. newline
  526. blank
  527. hbefore
  528. mainelement
  529. headings
  530. caseheading
  531. header
  532. o' option
  533. $Scripts$
  534. hcase
  535. mainelement
  536. headings
  537. postheading
  538. header
  539. o' option
  540. $Scripts$
  541. newline
  542. blank
  543. space
  544. hafter
  545. mainelement
  546. headings
  547. makeList
  548. header
  549. o' option
  550. Scripts$
  551. other
  552. bullet
  553. $TextOptions$
  554. asciiToChar
  555. beforeHypertext
  556. process
  557. processText
  558. close
  559. oneof
  560. textstring
  561. tagstring
  562. item_tag
  563. list_tag
  564. bullet
  565. mainelement
  566. headings
  567. lasttag
  568. terminators
  569. params
  570. makeAnchor
  571. italic,bold,underline
  572. hiddenlinks
  573. links
  574. GRcreateHotWord
  575. findName
  576. #ErrorMessage
  577. Cannot find
  578. $Standard$
  579. fillscript
  580. Popup
  581. $Standard$
  582. fillscript
  583. checkobject
  584. Popup
  585. Group
  586. this background
  587. checkobject
  588. Popup
  589. recordfield
  590. group Popup of this background
  591. $Standard$
  592. fillscript
  593. #ErrorMessage
  594. No script for
  595. rogue
  596. formats
  597. anchorstyle
  598. remark_tag
  599. string
  600. destination
  601. findFormat
  602. format
  603. $Options$
  604. #errorMessage
  605. no format specified for
  606. Trace
  607. $Control$
  608. Plaintext
  609. processText
  610. close
  611. tidyText
  612. BlanksText
  613. processText
  614. close
  615. tidyText
  616. BlankswithDistractorsText
  617. processText
  618. close
  619. tidyText
  620. Hypertext
  621. processText
  622. close
  623. tidyText
  624. beforeHypertext
  625. processText
  626. tidyText
  627. processText
  628. textstring
  629. setcase
  630. tagstring
  631. process
  632. NewPara
  633. close
  634. #errorMessage
  635. anchors not allowed in this text.
  636. attribute
  637. #errorMessage
  638. must be specified
  639. textstring
  640. setcase
  641. tagstring
  642. close
  643. #errorMessage
  644. Can't have tags in active text
  645. makeAnchor
  646. #errorMessage
  647. notes not allowed in this text.
  648. attribute
  649. #errorMessage
  650. must be specified
  651. makeAnchor
  652. #errorMessage
  653. blanks not allowed in this text.
  654. textstring
  655. tagstring
  656. close
  657. #errorMessage
  658. tags not allowed in contents of blank.
  659. {makeBlank
  660. #errorMessage
  661. distractors not allowed in this text.
  662. textstring
  663. tagstring
  664. close
  665. #errorMessage
  666. tags not allowed in contents of distractor.
  667. YwmakeDistractor
  668. oneof
  669. preheading
  670. processText
  671. close
  672. caseheading
  673. P!makeContents
  674. postheading
  675. processText
  676. close
  677. hmakeList
  678. close
  679. oneof
  680. #errorMessage
  681. Illegal tag
  682. tname
  683. tstring
  684. hstyle
  685. hcase
  686. estyle
  687. ecase
  688. headings
  689. list_tag
  690. blank_tag
  691. distractor_tag
  692. rogue
  693. active_tag
  694. note_tag
  695. dest_attr
  696. note_symbol
  697. para_tag
  698. emphasis_tag
  699. textcase
  700. terminators
  701. params
  702. makeBlank
  703. options
  704. blankbegin
  705. blankmiddle
  706. blankend
  707. makeDistractor
  708. options
  709. setcase
  710. uppercase
  711. title
  712. sentence
  713. i:to1
  714. tidystring
  715. rogue
  716. tidyText
  717. rogue
  718. checkforscrollbar
  719. result
  720. makePopup
  721. attribute
  722. #ErrorMessage
  723. name omitted.
  724. textstring
  725. tagstring
  726. process
  727. NewPara
  728. close
  729. close
  730. #ErrorMessage
  731. illegal tag
  732. $Standard$
  733. Blank
  734. $Shared$
  735. paste
  736. Blank
  737. para_tag
  738. textstring
  739. substitute
  740. inputFile
  741. substitute
  742. entityvalue
  743. substitute
  744. entityvalue
  745. Entities
  746. $Control$
  747. Entities
  748. $Control$
  749. entities
  750. tagstring
  751. Trace
  752. $Control$
  753. #errorMessage
  754. missing
  755. or extra
  756. checkEmpty
  757. textstring
  758. checkEmpty
  759. textstring
  760. !ENTITY
  761. $entity
  762. textstring
  763. inputFile
  764. close
  765. lasttag
  766. checkEmpty
  767. removeComments
  768. #ErrorMessage
  769. illegal tag
  770. close
  771. shriek
  772. process
  773. removeComments
  774. converttoitems
  775. removeComments
  776. butFirst
  777. #errorMessage
  778. comment incorrectly delimited.
  779. butfirst
  780. removeComments
  781. butfirst
  782. removeComments
  783. entity
  784. removeComments
  785. #ErrorMessage
  786. missing quote(s) in entity declaration
  787. Entities
  788. $Control$
  789. attribute
  790. #ErrorMessage
  791. missing
  792. substitute
  793. #errorMessage
  794. attribute assignment cannot have spaces
  795. close
  796. endchar
  797. textstring
  798. tagstring
  799. addEntry
  800. $Control$
  801. addName
  802. findName
  803. jaddEntry
  804. Names
  805. with tag
  806. #ErrorMessage
  807. the name
  808. has already been used
  809. remark_tag
  810. formats
  811. addImage
  812. findImage
  813. jaddEntry
  814. Images
  815. #ErrorMessage
  816. the name
  817. is already used for image
  818. findName
  819. Names
  820. findEntry
  821. findImage
  822. Images
  823. findEntry
  824. findEntry
  825. $Control$
  826. $Control$
  827. checkexists
  828. findName
  829. #ErrorMessage
  830. ' does not exist.
  831. destination
  832. findName
  833. #ErrorMessage
  834. ' does not exist.
  835. anchorAdjective
  836. boxed
  837. invert
  838. underline
  839. anchorstyle
  840. permanentAnchors
  841. bold,italics,underline
  842. anchorstyle
  843. ErrorMessage
  844. ScanErrorMessage
  845. $Compile$
  846. ** ERROR:
  847. Trace
  848. $Control$
  849. $Control$
  850. ** ABORTED: Too many errors
  851. Trace
  852. TOO MANY ERRORS!
  853. Error
  854. default
  855. errorcount
  856. inputFile
  857. oneof
  858. itemnumber
  859. itemnumber
  860. converttoitems
  861. itemize
  862. itemize
  863. quoted
  864. butFirst
  865. itemize
  866. quoted
  867. #errorMessage
  868. missing quotation mark
  869. butFirst
  870. itemize
  871. butFirst
  872. fillscript
  873. checkobject
  874. verifyobject
  875. #errorMessage
  876. not found in format.
  877. verifyobject
  878. put objects of
  879. into o
  880. author
  881. protected
  882. protected
  883. previous
  884. protected
  885. addpagelist
  886. pagelist
  887. makeContents
  888. tidystring
  889. Contents
  890. $Shared$
  891. Pages
  892. $Shared$
  893. currentpage
  894.     getImage
  895. findImage
  896. #ErrorMessage
  897. image
  898. not known.
  899. background
  900. foreground
  901. paste
  902. #ErrorMessage
  903. Cannot load graphic file
  904. #errorMessage
  905. failed to load image.
  906. group
  907. depth
  908. width
  909. "Label" 
  910. -- Handlers used 
  911. compiling
  912. 4inputFile,monitor,stack,scanerrors,defaultfile,remote
  913. B"Tidyup" 
  914. ("Please give 
  915. "Names"
  916. "Images"
  917. resourcesfile
  918. checkFormats
  919. sysErrorNumber>0 
  920. scanErrorMessage "trying 
  921. " && 
  922.  && "
  923. tagcount 
  924. "Source:" && 
  925.  & CRLF 
  926. "Trace" 
  927. "$Control$"
  928. textstring()
  929. unexpected 
  930. tagstring()
  931. scantag 
  932. scanned
  933. y-- body 
  934.  > 0 
  935.  && "
  936. (s)." 
  937. Mthere has been a 
  938. pchange
  939. 4formats
  940. "$Options$" 
  941. textlineCount(
  942. found 
  943. no such 
  944. %" && t
  945. changeCursor
  946. ,close,endchar,components
  947. missing" && 
  948. 9 && "
  949. " && t
  950. process(t) 
  951. element
  952. unwind 
  953. xoneof(
  954. illegal" && 
  955. xstacked
  956. attribute("
  957. p",pt)
  958. addName 
  959. noendreq
  960. n -- just 
  961. matching 
  962. " && 
  963. && "omitted."
  964. >-- OK
  965. ) -- need 
  966. xbe matched
  967. itemnumber(n,
  968. End tag(s) 
  969. " && e && "should occur 
  970. 4" && 
  971. & "."
  972. " && 
  973. state
  974. "** ERROR:" && m & 
  975.  > 20 
  976. "** ABORT: too many 
  977. "TOO MANY ERRORS!" 
  978. resourcesindex
  979. keepFile
  980. " && 
  981.  && "
  982. "Resources:" && 
  983. "idc"
  984. nameEntry pt,
  985. ,"$I"
  986. "app"
  987. P,"$A"
  988. "picture" -- 
  989. image becomes standard
  990. imageEntry pt,
  991. missingClose 
  992. ScanErrorMessage "Index 
  993. :" && 
  994. arg,mark
  995. p",pt) 
  996. ",pt) 
  997. f-- filename
  998. A",pt)
  999. f && 
  1000. *     -- ignore description
  1001. p",pt) 
  1002. ",pt) -- 
  1003. addImage n,
  1004.      -- 
  1005. (t) && "
  1006. :" && 
  1007. IDCname n
  1008. "Suite" 
  1009. "$First$"
  1010. scantag
  1011. enterPage
  1012. unwind
  1013. checkFormats
  1014. scanErrorMessage
  1015. resourcesfile
  1016. nameEntry
  1017. changeCursor
  1018. imageEntry
  1019. missingClose
  1020. IDCname
  1021. IDCname
  1022. enterPage
  1023. Label
  1024. Label
  1025. buttonUp
  1026. Tidyup
  1027. Please give file name
  1028. Names
  1029. Images
  1030. Qresourcesfile
  1031. checkFormats
  1032. scanErrorMessage
  1033. trying to open
  1034. as input file.
  1035. Source:
  1036. Trace
  1037. $Control$
  1038. textstring
  1039. scanErrorMessage
  1040. unexpected text before first tag.
  1041. tagstring
  1042. 0scantag
  1043. textstring
  1044. tagstring
  1045. 0scantag
  1046. error(s).
  1047. Error
  1048. Names
  1049. Trace
  1050. default
  1051. tagcount
  1052. inputFile
  1053. monitor
  1054. stack
  1055. scanerrors
  1056. defaultfile
  1057. remote
  1058. checkFormats
  1059. format
  1060. $Options$
  1061. Formats
  1062. $Options$
  1063. Formats
  1064. $Options$
  1065. scanErrorMessage
  1066. there is no such format as
  1067. i:to1
  1068. found
  1069. formats
  1070. changeCursor
  1071. scantag
  1072. changeCursor
  1073. scanErrorMessage
  1074. missing
  1075. process
  1076. unwind
  1077. oneof
  1078. scanErrorMessage
  1079. illegal
  1080. oneof
  1081. attribute
  1082. addName
  1083. element
  1084. stack
  1085. close
  1086. endchar
  1087. components
  1088. unwind
  1089. scanErrorMessage
  1090. matching open tag for
  1091. omitted.
  1092. oneof
  1093. unwind
  1094. itemnumber
  1095. #ErrorMessage
  1096. End tag(s) for
  1097. should occur before
  1098. scanErrorMessage
  1099. matching open tag for
  1100. omitted.
  1101. stack
  1102. noendreq
  1103. scanErrorMessage
  1104. ** ERROR:
  1105. Names
  1106. ** ABORT: too many errors
  1107. Names
  1108. TOO MANY ERRORS!
  1109. Error
  1110. Names
  1111. Trace
  1112. default
  1113. scanerrors
  1114. inputFile
  1115. resourcesfile
  1116. scanErrorMessage
  1117. trying to open
  1118. as resources index.
  1119. Resources:
  1120. Trace
  1121. $Control$
  1122. textstring
  1123. tagstring
  1124. index
  1125. changeCursor
  1126. textstring
  1127. tagstring
  1128. process
  1129. nameEntry
  1130. nameEntry
  1131. picture
  1132. imageEntry
  1133. image
  1134. imageEntry
  1135. index
  1136. close
  1137. $missingClose
  1138. ScanErrorMessage
  1139. Index missing in resources index:
  1140. keepFile
  1141. inputFile
  1142. resourcesindex
  1143. nameEntry
  1144. attribute
  1145. attribute
  1146. attribute
  1147. addName
  1148. textstring
  1149. tagstring
  1150. close
  1151. $missingClose
  1152. imageEntry
  1153. attribute
  1154. attribute
  1155. fBaddImage
  1156. textstring
  1157. tagstring
  1158. close
  1159. $missingClose
  1160. missingClose
  1161. scanErrorMessage
  1162. close
  1163. missing in resources index:
  1164. resourcesindex
  1165. IDCname
  1166. Suite
  1167. $First$
  1168. IDCname
  1169. Suite
  1170. $First$
  1171. selectedTextlines 
  1172. "Items" 
  1173. "Ans" 
  1174. wrong 
  1175. textlineCount(
  1176. "Responses" 
  1177. Correct(i)
  1178. "Option" 
  1179. B"Explain" 
  1180. "Right" 
  1181. "Explanation" 
  1182. B"Next" 
  1183. Answers -- used 
  1184. "AnsNos"
  1185. Error "System Fault: Format Pairs"
  1186. buttonUp
  1187. Answers
  1188. Correct
  1189. buttonUp
  1190. Items
  1191. Items
  1192. Responses
  1193. Correct
  1194. Responses
  1195. Option
  1196. Explain
  1197. Explain
  1198. Right
  1199. Explanation
  1200. Explain
  1201. Explain
  1202. Explain
  1203. wrong
  1204. Answers
  1205. Items
  1206. Correct
  1207. Responses
  1208. Responses
  1209. Correct
  1210. Correct
  1211. AnsNos
  1212. Error
  1213. System Fault: Format Pairs
  1214. Points
  1215. "Help" 
  1216. buttonUp
  1217. buttonUp
  1218.  CBL Unit, University of Leeds, v A 1.1 931202
  1219. Label
  1220. MASTER for Points
  1221. Prompt
  1222. heading
  1223. rightbuttonUp
  1224. buttonUp
  1225. rightbuttonUp
  1226. buttonUp
  1227. rightbuttonUp
  1228. buttonUp
  1229. LEFT mouse button moves to next point.
  1230. RIGHT mouse button displays further information.
  1231. RIGHT button + Control Key
  1232. moves to next page.
  1233. LEFT button + Control Key
  1234. moves to previous page.
  1235. CLICK TO HIDE
  1236. $First$
  1237. 4protected,created
  1238.  > 0 
  1239. F-- detaching
  1240. sysLockscreen 
  1241. "$Control$"
  1242. enterpage
  1243. enterpage
  1244. $Control$
  1245. protected
  1246. created
  1247. $First$
  1248. Version
  1249. Interactive Document Compiler Version 1.3601 Compiler
  1250. :PHYSSIZE
  1251. Formats
  1252. Shell
  1253. This is only a SHELL and contains no formats.  It cannot be used to compile documents.
  1254. Suite
  1255. Sampler 1.0  23rd December 1993
  1256.  1993 Computer Based Learning Unit, The University of Leeds
  1257. First
  1258. $First$
  1259. makepage n,pt
  1260. makenewpage n,pt
  1261. destination(attribute("
  1262. t",pt)) 
  1263. nextpage 
  1264. textstring()
  1265. "heading"
  1266. done 
  1267. tagstring()
  1268. process(
  1269. errorMessage "too many points."
  1270. "p" & p 
  1271. xclose(tn) 
  1272. ErrorMessage 
  1273. && "expected"
  1274. Vtn && "
  1275. illegal 
  1276. "c" & p 
  1277. CRLF & 
  1278. f > 0 
  1279. f > 0 
  1280. initialize
  1281. hidden 
  1282. Help"
  1283. localtags
  1284. addtags "pt"
  1285. epage
  1286. initialize
  1287. makepage
  1288. localtags
  1289. makepage
  1290. makenewpage
  1291. attribute
  1292. destination
  1293. nextpage
  1294. textstring
  1295. heading
  1296. tagstring
  1297. process
  1298. #errorMessage
  1299. too many points.
  1300. textstring
  1301. tagstring
  1302. close
  1303. #ErrorMessage
  1304. close
  1305. expected
  1306. close
  1307. points
  1308. #ErrorMessage
  1309. is illegal at this point in this format.
  1310. textstring
  1311. #errorMessage
  1312. text too long.
  1313. initialize
  1314. hidden
  1315. recordfield c1,recordfield c2,recordfield c3,recordfield c4,recordfield c5, field Help
  1316. localtags
  1317. L)addtags
  1318. initialize
  1319. "p" & i 
  1320. }l,s,c
  1321. retreat
  1322. > points 
  1323. "c" & 
  1324. "p" & 
  1325. fade f
  1326. "p" & p 
  1327. "c" & p 
  1328. "p" & 
  1329. rightbuttonUp l,s,c
  1330. nextpage 
  1331. advance 
  1332. "c" & 
  1333. sc + 
  1334. fc)/2
  1335. ttonUp
  1336. initialize
  1337. highlight
  1338. rightbuttonUp
  1339. buttonUp
  1340. initialize
  1341. buttonUp
  1342. Cretreat
  1343. points
  1344. highlight
  1345. highlight
  1346. points
  1347. 0,0,0
  1348. rightbuttonUp
  1349. nextpage
  1350. \$advance
  1351. MCQ:S&B(I)Y
  1352. !L!r!
  1353. "X"f#
  1354. Label
  1355. MASTER for MCQ:S&B(I)Y
  1356. Branch1
  1357. Branch2
  1358. Branch3
  1359. Branch4
  1360. Explanation
  1361. Explain
  1362. "Tell1" 
  1363. " & i 
  1364. "Right" 
  1365. "Tick" & i 
  1366. "Cross" & i 
  1367. "branch" & i 
  1368.             --
  1369. "Input" 
  1370. "Explanation"
  1371. oneof("
  1372. xframe",hidden 
  1373. B"Next" 
  1374. buttonUp
  1375. buttonUp
  1376. Right
  1377. Cross
  1378. Right
  1379. false
  1380. branch
  1381. Input
  1382. Explanation
  1383. group xframe
  1384. hidden
  1385. oneof
  1386. xframe
  1387. EXPLAIN
  1388. textlineCount(
  1389. "Correct") 
  1390. branches
  1391. "Right" 
  1392. "Answers" 
  1393. dontknow i
  1394. correct i
  1395. incorrect i
  1396. "Tell" & i 
  1397. incData "
  1398. "Tick" & i 
  1399. "Cross" & i 
  1400. awrong",1
  1401. dontknow
  1402. buttonUp
  1403. correct
  1404. incorrect
  1405. buttonUp
  1406. Correct
  1407. Right
  1408. Answers
  1409. t~dontknow
  1410. >correct
  1411. incorrect
  1412. branches
  1413. dontknow
  1414. Right
  1415. %incData
  1416. dontknow
  1417. correct
  1418. %incData
  1419. right
  1420. incorrect
  1421. Cross
  1422. %incData
  1423. wrong
  1424. Branch5
  1425. nextpage 
  1426. advance 
  1427. follow
  1428. buttonUp
  1429. buttonUp
  1430. nextpage
  1431. \$advance
  1432. follow
  1433. branches
  1434. Input
  1435. "Answers"
  1436. clearButtons i
  1437. "True,False,?" 
  1438. buttonUp
  1439. clearButtons
  1440. buttonUp
  1441. Answers
  1442. b*clearButtons
  1443. clearButtons
  1444. True,False,?
  1445. U#$    X
  1446. Input1
  1447. True1
  1448. False1
  1449. FALSE
  1450. CANCEL
  1451. Input2
  1452. True2
  1453. False2
  1454. FALSE
  1455. CANCEL
  1456. Input3
  1457. True3
  1458. False3
  1459. FALSE
  1460. CANCEL
  1461. Input4
  1462. True4
  1463. False4
  1464. FALSE
  1465. CANCEL
  1466. Input5
  1467. True5
  1468. False5
  1469. FALSE
  1470. CANCEL
  1471. Tell1
  1472. Tell1
  1473. Tick1
  1474. Cross1
  1475. Tick2
  1476. Cross2
  1477. Tick3
  1478. Cross3
  1479. Tick4
  1480. Cross4
  1481. Tick5
  1482. Cross5
  1483. Tell2
  1484. Tell2
  1485. Tell3
  1486. Tell3
  1487. Tell4
  1488. Tell4
  1489. Tell5
  1490. Tell5
  1491. Title
  1492.  1993  Computer Based Learning Unit,
  1493. The University of Leeds. A 2.1 9310251
  1494. Group
  1495. Correct
  1496. Right
  1497. Answers
  1498. XFrame
  1499. Prompt
  1500. ShowPicture
  1501. "sframe"
  1502. buttonUp
  1503. buttonUp
  1504. sframe
  1505. Show Picture
  1506. sframe
  1507. dismiss
  1508. B"showPicture" 
  1509. dismiss
  1510. dismiss
  1511. showPicture
  1512. SFrame
  1513. HidePicture
  1514. dismiss
  1515. buttonUp
  1516. buttonUp
  1517. Fdismiss
  1518. Hide Picture
  1519. MCQ:S&B(I)Y
  1520. makePage n,pt
  1521. makeNewPage n
  1522. attribute("
  1523. t",pt)
  1524. destination(
  1525. nextpage 
  1526. 9si",pt) -- Stem image
  1527. getImage 
  1528. ,0,"tl","sframe",
  1529. uxi",pt) -- Explanation 
  1530. " && "xframe" 
  1531. hidden 
  1532. ,0,"tl","
  1533. makeMCQ n,pt
  1534. initialize
  1535. setup 
  1536. "title,hidemenubar,setformat"
  1537. Bshowpicture"
  1538. localtags
  1539. addtags "br,x"
  1540. branch
  1541. textstring() -- stem
  1542. tagstring()
  1543. process(
  1544. "b" & 
  1545. ans",t) 
  1546. ErrorMessage tf && "
  1547. illegal value 
  1548. tf & CRLF 
  1549. "Correct" 
  1550. xclose(
  1551. ) && "expected."
  1552. Plaintext "
  1553. checkforscrollbar("
  1554. " && 
  1555. fieldformat 
  1556. should be 
  1557.  > 5 
  1558. errorMessage "too many branches."
  1559. initialize
  1560. makePage
  1561. localtags
  1562. makeMCQ
  1563. makePage
  1564. makeNewPage
  1565. attribute
  1566. destination
  1567. nextpage
  1568. attribute
  1569. _UgetImage
  1570. sframe
  1571. attribute
  1572. group
  1573. xframe
  1574. hidden
  1575. _UgetImage
  1576. xframe
  1577. O.makeMCQ
  1578. initialize
  1579. setup
  1580. title,hidemenubar,setformat
  1581. hidden
  1582. button showpicture
  1583. localtags
  1584. L)addtags
  1585. makeMCQ
  1586. textstring
  1587. tagstring
  1588. process
  1589. textstring
  1590. attribute
  1591. false
  1592. #ErrorMessage
  1593. is an illegal value for attribute 'ans'
  1594. Correct
  1595. tagstring
  1596. close
  1597. #ErrorMessage
  1598. close
  1599. expected.
  1600. Plaintext
  1601. Explanation
  1602. Explanation
  1603. checkforscrollbar
  1604. Explanation
  1605. fieldformat
  1606. close
  1607. #ErrorMessage
  1608. is illegal in this format.
  1609. textstring
  1610. #errorMessage
  1611. too many branches.
  1612. branch
  1613. initialize
  1614. "Input" 
  1615. textlineCount(
  1616. "Correct") 
  1617. branches
  1618. x & i 
  1619. "b" & 
  1620. " & i 
  1621. "Right"
  1622. clearButtons i 
  1623. "Tell" & i 
  1624. "Tick" & i 
  1625. "Cross" & i 
  1626.  < 5 
  1627. " & i 
  1628. "Answers"
  1629. "Explanation"
  1630. B"OK" 
  1631. B"Next" 
  1632. stringData("
  1633. "Group" 
  1634. initialize
  1635. initialize
  1636. Input
  1637. Correct
  1638. branch
  1639. Correct
  1640. Right
  1641. ob*clearButtons
  1642. Input
  1643. Input
  1644. Cross
  1645. branch
  1646. Input
  1647. Cross
  1648. Answers
  1649. Explanation
  1650. group
  1651. stringData
  1652. Group
  1653. branches
  1654. Test Teach
  1655. Label
  1656. initialize
  1657. wrong 
  1658. "Response" 
  1659. initialize
  1660. initialize
  1661. wrong
  1662. Response
  1663. Response
  1664. MASTER for Test Teach
  1665. Prompt
  1666. Question
  1667. Response
  1668. Remark
  1669. Feedback
  1670. 1993 Computer Based Learning Unit, The University of Leeds v1.0 9312022
  1671. nextpage 
  1672. advance 
  1673. follow
  1674. buttonUp
  1675. buttonUp
  1676. nextpage
  1677. \$advance
  1678. follow
  1679. Test Teach
  1680. $TextOptions$
  1681. 4anchorstyle,hstyle,hcase,hbefore,hafter,estyle,ecase,pstyle,bullet
  1682. B & "
  1683. setbutton "e",
  1684. sethbuttons 
  1685. bprefix,value
  1686. ^l,suffix
  1687. "h" & i & 
  1688. terpage
  1689. setbutton
  1690. enterpage
  1691. sethbuttons
  1692. enterpage
  1693. anchors
  1694. buttonUp
  1695. setbutton
  1696. setbutton
  1697. setbutton
  1698. setbutton
  1699. sethbuttons
  1700. sethbuttons
  1701. sethbuttons
  1702. sethbuttons
  1703. anchorstyle
  1704. hstyle
  1705. hcase
  1706. hbefore
  1707. hafter
  1708. estyle
  1709. ecase
  1710. pstyle
  1711. bullet
  1712. setbutton
  1713. buttonUp
  1714. value
  1715. prefix
  1716. sethbuttons
  1717. buttonUp
  1718. suffix
  1719. Hypertext
  1720. Paragraph
  1721. before
  1722. after
  1723. before
  1724. after
  1725. before
  1726. after
  1727. before
  1728. after
  1729. before
  1730. after
  1731. headingstyle
  1732. 4hstyle
  1733. "h" & i & 
  1734. buttonUp
  1735. buttonUp
  1736. italic,underline,bold
  1737. hstyle
  1738. h1italic
  1739. Italic
  1740. h1underline
  1741. Underline
  1742. h1bold
  1743. h2italic
  1744. Italic
  1745. h2underline
  1746. Underline
  1747. h2bold
  1748. h3italic
  1749. Italic
  1750. h3underline
  1751. Underline
  1752. h3bold
  1753. h4italic
  1754. Italic
  1755. h4underline
  1756. Underline
  1757. h4bold
  1758. h5italic
  1759. Italic
  1760. h5underline
  1761. Underline
  1762. h5bold
  1763. headingcase
  1764. 4hcase
  1765. [,title,sentence,unchanged" 
  1766. "h" & i & 
  1767. buttonUp
  1768. buttonUp
  1769. uppercase,title,sentence,unchanged
  1770. hcase
  1771. h1uppercase
  1772. Upper Case
  1773. h1title
  1774. Title Case
  1775. h1sentence
  1776. Sentence Case
  1777. h1unchanged
  1778. Unchanged
  1779. h2uppercase
  1780. Upper Case
  1781. h2title
  1782. Title Case
  1783. h2sentence
  1784. Sentence Case
  1785. h2unchanged
  1786. Unchanged
  1787. h3uppercase
  1788. Upper Case
  1789. h3title
  1790. Title Case
  1791. h3sentence
  1792. Sentence Case
  1793. h3unchanged
  1794. Unchanged
  1795. h4uppercase
  1796. Upper Case
  1797. h4title
  1798. Title Case
  1799. h4sentence
  1800. Sentence Case
  1801. h4unchanged
  1802. Unchanged
  1803. h5uppercase
  1804. Upper Case
  1805. h5title
  1806. Title Case
  1807. h5sentence
  1808. Sentence Case
  1809. h5unchanged
  1810. Unchanged
  1811. Emphasis
  1812. estyle
  1813. 4estyle
  1814. "e" & 
  1815. buttonUp
  1816. buttonUp
  1817. italic,underline,bold
  1818. estyle
  1819. eitalic
  1820. Italic
  1821. eunderline
  1822. Underline
  1823. ebold
  1824. ecase
  1825. 4ecase
  1826. [,title,sentence,unchanged" 
  1827. "e" & 
  1828. buttonUp
  1829. buttonUp
  1830. uppercase,title,sentence,unchanged
  1831. ecase
  1832. euppercase
  1833. Upper Case
  1834. etitle
  1835. Title Case
  1836. esentence
  1837. Sentence Case
  1838. eunchanged
  1839. Unchanged
  1840. AnchorStyle
  1841. clearbuttons
  1842. ,boxed,
  1843. & "anchors"
  1844. clearbuttons
  1845. clearbuttons
  1846. invert,boxed,bold,italic,underline
  1847. anchors
  1848. Anchor Style
  1849. Anchor Style
  1850. Button
  1851. InvertAnchors
  1852. 4anchorstyle
  1853. clearbuttons
  1854. buttonUp
  1855. buttonUp
  1856. invert
  1857. b*clearbuttons
  1858. anchorstyle
  1859. Invert
  1860. BoxedAnchors
  1861. 4anchorstyle
  1862. "boxed"
  1863. clearbuttons
  1864. buttonUp
  1865. buttonUp
  1866. boxed
  1867. b*clearbuttons
  1868. anchorstyle
  1869. Boxed
  1870. ItalicAnchors
  1871. 4anchorstyle
  1872. clearbuttons
  1873. buttonUp
  1874. buttonUp
  1875. italic
  1876. b*clearbuttons
  1877. anchorstyle
  1878. Italic
  1879. UnderlineAnchors
  1880. 4anchorstyle
  1881. clearbuttons
  1882. buttonUp
  1883. buttonUp
  1884. underline
  1885. b*clearbuttons
  1886. anchorstyle
  1887. Underline
  1888. BoldAnchors
  1889. 4anchorstyle
  1890. clearbuttons
  1891. buttonUp
  1892. buttonUp
  1893. b*clearbuttons
  1894. anchorstyle
  1895. Anchor Style
  1896. Permanently Shown
  1897. Anchor Style
  1898. Shown on
  1899. request
  1900. pstyle
  1901. 4pstyle
  1902. "newline,blank,indent" 
  1903. "p" & 
  1904. buttonUp
  1905. buttonUp
  1906. newline,blank,indent
  1907. pstyle
  1908. pnewline
  1909. Newline
  1910. pindent
  1911. Indent
  1912. pblank
  1913. Blank Line
  1914. headingbefore
  1915. 4hbefore
  1916. (n)-1 
  1917. "newlineb,blankb" 
  1918. "h" & i & 
  1919. buttonUp
  1920. buttonUp
  1921. newlineb,blankb
  1922. hbefore
  1923. h1newlineb
  1924. Newline
  1925. h1blankb
  1926. Blank Line
  1927. h2newlineb
  1928. Newline
  1929. h2blankb
  1930. Blank Line
  1931. h3newlineb
  1932. Newline
  1933. h3blankb
  1934. Blank Line
  1935. h4newlineb
  1936. Newline
  1937. h4blankb
  1938. Blank Line
  1939. h5newlineb
  1940. Newline
  1941. h5blankb
  1942. Blank Line
  1943. headingafter
  1944. 4hafter
  1945. (n)-1 
  1946. "newlinea,blanka,spacea" 
  1947. "h" & i & 
  1948. buttonUp
  1949. buttonUp
  1950. newlinea,blanka,spacea
  1951. hafter
  1952. h1newlinea
  1953. Newline
  1954. h1blanka
  1955. Blank Line
  1956. h1spacea
  1957. Space
  1958. h2newlinea
  1959. Newline
  1960. h2blanka
  1961. Blank Line
  1962. h2spacea
  1963. Space
  1964. h3newlinea
  1965. Newline
  1966. h3blanka
  1967. Blank Line
  1968. h3spacea
  1969. Space
  1970. h4newlinea
  1971. Newline
  1972. h4blanka
  1973. Blank Line
  1974. h4spacea
  1975. Space
  1976. h5newlinea
  1977. Newline
  1978. h5blanka
  1979. Blank Line
  1980. h5spacea
  1981. Space
  1982. Bullethhhhhhhh
  1983. bullet
  1984. 4bullet
  1985. "dash,star,plus,other" 
  1986. "b" & 
  1987. buttonUp
  1988. buttonUp
  1989. dash,star,plus,other
  1990. bullet
  1991. bstar
  1992. bother
  1993. "bother"
  1994. ("Give 
  1995.  ASCII value 
  1996. Syou would like 
  1997. use" 
  1998. buttonUp
  1999. buttonUp
  2000. bother
  2001. Give the ASCII value of the character you would like to use
  2002. bother
  2003. bplus
  2004. bdash
  2005. bother
  2006. "$Options$"
  2007. buttonUp
  2008. buttonUp
  2009. $Options$
  2010. $TextOptions$
  2011. makePage n,pt
  2012. 4lasttag
  2013. makenewPage n
  2014. attribute("
  2015. t",pt)
  2016. nextpage 
  2017. beforeHypertext "Question","
  2018. h,ar,ca"
  2019. done 
  2020. process(
  2021. allow",t)
  2022. cAllow(cc) 
  2023. textto(n)
  2024. Correct(cc) 
  2025. aAllow(ac) 
  2026. textstring()
  2027. Anticipated(ac) 
  2028. tagstring()) 
  2029. Feedback(ac) 
  2030. close(n)
  2031. znothing
  2032. expected 
  2033. Tell",n
  2034. Hint",n
  2035. nullstring
  2036. nAnticipated 
  2037. nCorrect 
  2038. -- These 
  2039. tthree handlers could usefully be 
  2040. the Book 
  2041.  tag -- returns 
  2042. checks 
  2043. closes
  2044. errorMessage 
  2045. {) && "
  2046. :"Text" && 
  2047. && "where 
  2048. xallowed."
  2049. initialize
  2050. hidden 
  2051. BNext"
  2052. cleared 
  2053. ,Remark"
  2054. localTags
  2055. addTags "ca,
  2056. h,ar,fb,ht"
  2057. makePage
  2058. nullstring
  2059. initialize
  2060. expected
  2061. localTags
  2062. textto
  2063. makePage
  2064. makenewPage
  2065. attribute
  2066. nextpage
  2067. beforeHypertext
  2068. Question
  2069. cr,ar,ca
  2070. process
  2071. allow
  2072. attribute
  2073. cAllow
  2074. textto
  2075. Correct
  2076. allow
  2077. attribute
  2078. aAllow
  2079. textstring
  2080. Anticipated
  2081. tagstring
  2082. process
  2083. textto
  2084. Feedback
  2085. close
  2086. bexpected
  2087. close
  2088. Hypertext
  2089. Hypertext
  2090. close
  2091. nullstring
  2092. tagstring
  2093. nAnticipated
  2094. nCorrect
  2095. lasttag
  2096. textto
  2097. textstring
  2098. tagstring
  2099. process
  2100. close
  2101. bexpected
  2102. close
  2103. expected
  2104. #errorMessage
  2105. close
  2106. expected.
  2107. nullstring
  2108. textstring
  2109. #errorMessage
  2110. where not allowed.
  2111. initialize
  2112. hidden
  2113. recordfield Hint,recordfield Tell,button Next
  2114. cleared
  2115. Feedback,Remark
  2116. localTags
  2117. L)addTags
  2118. ca,cr,ar,fb,ht
  2119. keyEnter 
  2120. checkResponse
  2121. "Feedback" 
  2122. "Remark" 
  2123. responseCorrect(
  2124. responseAnticipated(
  2125. Incorrect
  2126. unrecognised
  2127. "Tell"
  2128. B"Next" 
  2129. "Your answer 
  2130. incorrect." 
  2131. Wrong
  2132. Unrecognised
  2133. @was 
  2134. xanticipated." 
  2135. wrong 
  2136. /> 1 
  2137. "Hint"
  2138. /> 2 
  2139. nCorrect 
  2140. match(t,
  2141. ,cAllow(i) 
  2142. nAnticipated 
  2143. ,aAllow(i) 
  2144. Match t,a,m
  2145. xIsNumber(t) 
  2146. a = t
  2147. ( t <= n+e) 
  2148. ( t >= n-e)
  2149. Spelling(a) 
  2150. RemoveExtra(t,a) 
  2151. Alphabet(a) 
  2152. "[" & m & "]" && t && "|" && a
  2153. Reduce(
  2154. (w) -- always leave 
  2155. "aeiouyh" 
  2156. (r) > 4 
  2157. [(s) 
  2158. (s)-1
  2159. gi+1 
  2160. IsBefore(n,t) 
  2161. gi+1 
  2162. U s,t
  2163. U(t) 
  2164. j(ls,lt) 
  2165. ns < nt
  2166. ns > nt
  2167. ls < lt
  2168. checkResponse
  2169. Incorrect
  2170. Unrecognised
  2171. Wrong
  2172. keyChar
  2173. Correct
  2174. Match
  2175. responseCorrect
  2176. IsNumber
  2177. RemoveExtra
  2178. Spelling
  2179. responseAnticipated
  2180. Reduce
  2181. Alphabet
  2182. IsBefore
  2183. keyChar
  2184. EcheckResponse
  2185. checkResponse
  2186. Feedback
  2187. Remark
  2188. responseCorrect
  2189. >Correct
  2190. responseAnticipated
  2191. Incorrect
  2192. unrecognised
  2193. Incorrect
  2194. Your answer is incorrect.
  2195. Remark
  2196. Wrong
  2197. Unrecognised
  2198. Your answer was not anticipated.
  2199. Remark
  2200. Wrong
  2201. Wrong
  2202. wrong
  2203. wrong
  2204. wrong
  2205. Correct
  2206. Your answer is correct.
  2207. Remark
  2208. responseCorrect
  2209. nCorrect
  2210. Correct
  2211. cAllow
  2212. match
  2213. responseAnticipated
  2214. nAnticipated
  2215. Anticipated
  2216. aAllow
  2217. match
  2218. Feedback
  2219. Feedback
  2220. Match
  2221. IsNumber
  2222. Spelling
  2223. Spelling
  2224. RemoveExtra
  2225. Alphabet
  2226. Alphabet
  2227. IsNumber
  2228. RemoveExtra
  2229. j:to1
  2230. Spelling
  2231. Reduce
  2232. Reduce
  2233. aeiouyh
  2234. Alphabet
  2235. IsBefore
  2236. i:to1
  2237. IsBefore
  2238. saveScores
  2239. stringData("scores") 
  2240. recordfile")
  2241. ;datapath") & "\" & 
  2242. recordFile
  2243. n & "=" & 
  2244. & CRLF 
  2245. loadScores
  2246. done 
  2247. readLine(
  2248. ~("=",l)
  2249. oneof(n,s) 
  2250. setData n,v
  2251. Error n && "
  2252. xrecognised [" & s & "] 
  2253. :" && 
  2254. wrong 
  2255. saveScores
  2256. loadScores
  2257. saveScores
  2258. scores
  2259. stringData
  2260. recordfile
  2261. stringData
  2262. datapath
  2263. stringData
  2264. recordfile
  2265. stringData
  2266. recordFile
  2267. loadScores
  2268. scores
  2269. stringData
  2270. recordfile
  2271. stringData
  2272. datapath
  2273. stringData
  2274. readLine
  2275. oneof
  2276. 45setData
  2277. Error
  2278. not recognised [
  2279. ] in record file:
  2280. Error
  2281. record file in wrong format.
  2282. recordFile
  2283. HyperBook
  2284. makePage n,pt
  2285. makeNewPage n
  2286. attribute("
  2287. t",pt)
  2288. destination(
  2289. nextpage 
  2290. 9more",pt)
  2291. morepage 
  2292. dalso",pt)
  2293. alsopage 
  2294. image",pt)
  2295. getImage 
  2296. ,300,"tl","Frame",
  2297. Hypertext "Text",pt
  2298. checkforscrollbar("
  2299. $ && 
  2300. fieldformat 
  2301. initialize
  2302. setup 
  2303. "setformat,showmenubar"
  2304. optionalbuttons 
  2305. hidden 
  2306. Popup"
  2307. makePage
  2308. initialize
  2309. makePage
  2310. makeNewPage
  2311. attribute
  2312. destination
  2313. nextpage
  2314. attribute
  2315. destination
  2316. morepage
  2317. attribute
  2318. destination
  2319. alsopage
  2320. image
  2321. attribute
  2322. _UgetImage
  2323. Frame
  2324. Hypertext
  2325. checkforscrollbar
  2326. fieldformat
  2327. initialize
  2328. setup
  2329. setformat,showmenubar
  2330. optionalbuttons
  2331. continue nextpage,more morepage,also alsopage
  2332. hidden
  2333. group Popup
  2334. R    x    N
  2335. Label
  2336. MASTER for HyperBook
  2337. PreviousPage
  2338. retreat
  2339. buttonUp
  2340. buttonUp
  2341. Cretreat
  2342. Continue
  2343. nextpage 
  2344. advance 
  2345. buttonUp
  2346. buttonUp
  2347. nextpage
  2348. \$advance
  2349.  Computer Based Learning Unit
  2350. The University of Leeds v A 1.1 93120155555555993
  2351. morepage 
  2352. advance 
  2353. buttonUp
  2354. buttonUp
  2355. morepage
  2356. \$advance
  2357. alsopage 
  2358. advance 
  2359. buttonUp
  2360. buttonUp
  2361. alsopage
  2362. \$advance
  2363. Prompt
  2364. Popup
  2365. dismiss
  2366. dismiss
  2367. dismiss
  2368. Popup
  2369. Dismiss
  2370. dismiss
  2371. buttonUp
  2372. buttonUp
  2373. Fdismiss
  2374. DISMISS
  2375. Frame
  2376. Rewind
  2377. upLevel
  2378. buttonUp
  2379. buttonUp
  2380. GupLevel
  2381. scanEr
  2382. Control
  2383. $Control$
  2384. $Standard$
  2385. $Shared$
  2386. Contents
  2387. Pages
  2388. "Documentation"
  2389. enterpage
  2390. leavepage
  2391. enterpage
  2392. Documentation
  2393. leavepage
  2394. Documentation
  2395. Title: An example of an interactive document
  2396. $Title$
  2397. 4addressstack
  2398. "$Shared$" -- 
  2399. documentation
  2400. enterpage
  2401. rightButtonUp
  2402. enterpage
  2403. addressstack
  2404. rightButtonUp
  2405. $Shared$
  2406. Title
  2407. :PHYSSIZE
  2408. Copyright
  2409. Error
  2410. 4allowexit
  2411. sysSuspendMessages 
  2412. buttonUp
  2413. buttonUp
  2414. allowexit
  2415. $Options$
  2416. 4resourcesindex,defaultfile,destinationpath
  2417. "Resources Index"
  2418. "Defaultfile"
  2419. "DestinationPath"
  2420. enterpage
  2421. enterpage
  2422. Resources Index
  2423. Defaultfile
  2424. DestinationPath
  2425. resourcesindex
  2426. defaultfile
  2427. destinationpath
  2428. $Options$
  2429. 4optionsFile
  2430. saveOptions 
  2431. "$Control$"
  2432. buttonUp
  2433. buttonUp
  2434. saveOptions
  2435. $Control$
  2436. optionsFile
  2437. Formats
  2438. Formats
  2439. 4defaultfile
  2440. ("Give full path 
  2441.  inputfile" 
  2442. "Defaultfile"
  2443. buttonUp
  2444. buttonUp
  2445. Give full path name of default inputfile
  2446. Defaultfile
  2447. defaultfile
  2448. Set default file
  2449. Defaultfile
  2450. sysLockscreen 
  2451. "$TextOptions$"
  2452. buttonUp
  2453. buttonUp
  2454. $TextOptions$
  2455. Text Options
  2456. General Options
  2457. 4resourcesindex
  2458. ("Give full path 
  2459. "Resources Index"
  2460. buttonUp
  2461. buttonUp
  2462. Give full path name of resource index
  2463. Resources Index
  2464. resourcesindex
  2465. Set resource index
  2466. Resources Index
  2467. Formats
  2468. 4formats
  2469. selectedTextlines 
  2470. "Formats"
  2471. [association
  2472. n & "
  2473. rightbuttonUp
  2474. tonUp
  2475. format
  2476. buttonUp
  2477. rightbuttonUp
  2478. buttonUp
  2479. format
  2480. format
  2481. button
  2482. Formats
  2483. Formats
  2484. format
  2485. formats
  2486. rightbuttonUp
  2487. format
  2488. f1format
  2489. f2format
  2490. f3format
  2491. f4format
  2492. f5format
  2493. f6format
  2494. f7format
  2495. f8format
  2496. f9format
  2497. f0format
  2498. Assign formats by clicking in the list to the right and then on the buttons in the above list.
  2499. 4userFile
  2500. ("Give full path 
  2501. file" 
  2502. getOptions 
  2503. buttonUp
  2504. buttonUp
  2505. Give full path name of file
  2506. getOptions
  2507. enterpage
  2508. userFile
  2509. Load options from file
  2510. 4userFile
  2511. ("Give full path 
  2512. file" 
  2513. saveOptions 
  2514. buttonUp
  2515. buttonUp
  2516. Give full path name of file
  2517. saveOptions
  2518. userFile
  2519. Copy options to file
  2520. 4destinationpath
  2521. ("Give 
  2522. output file (no final \)" 
  2523. "Destinationpath"
  2524. buttonUp
  2525. buttonUp
  2526. Give destination path for output file (no final \)
  2527. Destinationpath
  2528. destinationpath
  2529. Set destination path
  2530. DestinationPath
  2531. $Standard$
  2532. "Label" 
  2533. enterPage
  2534. enterPage
  2535. Label
  2536. Label
  2537. Label
  2538. $Help$
  2539. dismiss
  2540. dismiss
  2541. buttonUp
  2542. dismiss
  2543. buttonUp
  2544. background
  2545. 0bringToFront
  2546. foreground
  2547. Click on the kind of help you require go tooooooooooooooooooooooooo
  2548. $Help$
  2549. selectedTextlines 
  2550. help 
  2551. advance 
  2552. buttonUp
  2553. buttonUp
  2554. \$advance
  2555. \$advance
  2556. Dismiss
  2557. dismiss
  2558. buttonUp
  2559. buttonUp
  2560. Fdismiss
  2561. DISMISS
  2562. $Contents$
  2563. dismiss
  2564. dismiss
  2565. buttonUp
  2566. dismiss
  2567. buttonUp
  2568. background
  2569. 0bringToFront
  2570. foreground
  2571. Click on the name of the section that you wish to go toay
  2572. $Contents$
  2573. selectedTextlines 
  2574. "Pages" 
  2575. "$Shared$"
  2576. advance 
  2577. buttonUp
  2578. buttonUp
  2579. Pages
  2580. $Shared$
  2581. \$advance
  2582. Dismiss
  2583. dismiss
  2584. buttonUp
  2585. buttonUp
  2586. Fdismiss
  2587. DISMISS
  2588. $Pages$
  2589. dismiss
  2590. dismiss
  2591. buttonUp
  2592. dismiss
  2593. buttonUp
  2594. background
  2595. 0bringToFront
  2596. foreground
  2597. Click on the name of the page you wish to seeplayyyyyy
  2598. $Pages$
  2599. selectedTextlines 
  2600. advance 
  2601. buttonUp
  2602. buttonUp
  2603. \$advance
  2604. Dismiss
  2605. dismiss
  2606. buttonUp
  2607. buttonUp
  2608. Fdismiss
  2609. DISMISS
  2610. Common
  2611. $Common$
  2612. Shared
  2613. $Shared$
  2614. Master
  2615. $Scripts$
  2616. $Master$
  2617. Title
  2618. $Title$
  2619. $Standard$
  2620. $Standard$+
  2621. This page and its background contain objects used during compilation.  Some objects are copied to background or to document pages, others contain skeleton scripts..
  2622. Skeleton Scripts
  2623. Popup
  2624. --Template 
  2625. activating a Popup
  2626. "%1" 
  2627. "$Shared$"
  2628. showPopup 
  2629. buttonUp
  2630. buttonUp
  2631. $Shared$
  2632. showPopup
  2633. Activate Popup
  2634. -- Script 
  2635. link 
  2636. a Page
  2637. advance "%1"
  2638. buttonUp
  2639. buttonUp
  2640. \$advance
  2641.  Link to Page or Book
  2642. Blank
  2643. FormatBookScript
  2644. -- This 
  2645. copied 
  2646. formats are extracted
  2647. sysRuntime 
  2648. <only."
  2649. You may inspect 
  2650. scripts 
  2651. you wish." 
  2652. f"Exit" 
  2653. "Inspect"
  2654. enterBook
  2655. enterBook
  2656. This book contains IDC formats only.
  2657. This book contains IDC formats only.  You may inspect the objects and scripts if you wish.
  2658. Inspect
  2659. inspect
  2660. Script for extracted formats
  2661. $Standard$
  2662. Random
  2663. Standard (SVGA)
  2664. 4stack,compiling,currentpage
  2665. 4inputFile,
  2666. ,close,created,monitor,scanerrors,errorcount
  2667. % > 0 
  2668. G > 0 
  2669. "Trace"
  2670. "Entities"
  2671.     -- ensure options 
  2672. "$Options$"
  2673. y-- se makeContents 
  2674. textstring() -- everything 
  2675. ignored (illegal SGML)
  2676. tagstring()
  2677. process(
  2678. compileheader 
  2679. jThis should be 
  2680. compilebody 
  2681. default
  2682.  && "
  2683. (s)" 
  2684. "Error"
  2685. changeCursor
  2686. mainelement
  2687. "dd-MMM-y (hh24:
  2688. "Created 
  2689. " && 
  2690.  & CRLF & 
  2691. p&& "
  2692. "Data" 
  2693. "$Title$"
  2694. "Version" 
  2695. "$First$" 
  2696. attribute("
  2697. ",pt)
  2698. errorMessage "
  2699. omitted"
  2700. checkexists(
  2701. firstpage 
  2702. /"$Common$"
  2703. done 
  2704. "title"
  2705. textfield 
  2706. ErrorMessage 
  2707. ) && "expected."
  2708. (c)>32 
  2709. F-- exceeds 
  2710. allowed 
  2711. HToolbook
  2712. Kcannot have more than 32 
  2713. ," -- 
  2714. may become redundant
  2715. compilecredits p
  2716. ,"Date"
  2717. "copyright"
  2718. ,"Copyright","
  2719. "doc"
  2720. compiledoc p
  2721. "help"
  2722. compilehelp p
  2723. "Misplaced 
  2724. : " & 
  2725.  '" & e & "' found"
  2726. t,f,pfx
  2727. f & ":" && 
  2728. "Documentation" 
  2729. "$Shared$"
  2730. (t) && "
  2731. plainText "
  2732. p",pt) 
  2733. pmust be specified."
  2734. Destination(n)
  2735. "Help" 
  2736. (t) && "
  2737. 4formats,inputfile,remark_tag,
  2738. makePopup p
  2739. oneof(
  2740. findformat(
  2741. skip 
  2742. compileformat p,
  2743. >    (e)
  2744. :" && 
  2745. -- What 
  2746. here?
  2747.  '" & e & "' 
  2748. compileremark pt -- obsolete
  2749. p",pt) 
  2750. n -- Remarks are treated 
  2751. %handled 
  2752.  -- see comments 
  2753. Book 
  2754.             -- processed tag (including 
  2755.  values)
  2756.             -- 
  2757. levels 
  2758. 3 -- i.e. f0,f1,f2,f3 considered 
  2759. be hierachical
  2760. p",pt) 
  2761. i -- 
  2762. (instance)
  2763. (i) > 32 
  2764. less 
  2765. initialized 
  2766. checkobject "Label","
  2767. Prompt","
  2768. makePage i,pt 
  2769. list",pt) 
  2770. List 
  2771. greater 
  2772. addpagelist l,i
  2773. 0,i -- 
  2774. %well
  2775. optional uses 
  2776. /m -- 
  2777. the following 
  2778.  message "
  2779. sent 
  2780. xneeded 
  2781. {setup 
  2782. drawdirect 
  2783. copyGroup "$Pages$",m -- These 
  2784. xdrawn 
  2785. -- so that they 
  2786. always on 
  2787. $", m -- And 
  2788. "$Scripts$" 
  2789. copyfields 
  2790. "yes"
  2791. "$Standard$"
  2792. angeCursor
  2793. compilecredits
  2794. compiledoc
  2795. buttonUp
  2796. compilehelp
  2797. compileheader
  2798. compilebody
  2799. compileremark
  2800. compileformat
  2801. textfield
  2802. initialize
  2803. changeCursor
  2804. copyGroup
  2805. buttonUp
  2806. Trace
  2807. Entities
  2808. $Options$
  2809. textstring
  2810. tagstring
  2811. process
  2812. .compileheader
  2813. textstring
  2814. tagstring
  2815. process
  2816. compilebody
  2817. error(s)
  2818. Error
  2819. default
  2820. inputFile
  2821. close
  2822. created
  2823. monitor
  2824. scanerrors
  2825. errorcount
  2826. stack
  2827. compiling
  2828. currentpage
  2829. changeCursor
  2830. compileheader
  2831. header
  2832. header
  2833. dd-MMM-y (hh24:min)
  2834. Created from
  2835. using 
  2836. $Title$
  2837. Version
  2838. $First$
  2839. $Title$
  2840. start
  2841. attribute
  2842. #errorMessage
  2843. start omitted
  2844. checkexists
  2845. $Common$
  2846. firstpage
  2847. changeCursor
  2848. textstring
  2849. tagstring
  2850. process
  2851. title
  2852. textfield
  2853. Title
  2854. caption
  2855. textstring
  2856. tagstring
  2857. close
  2858. #ErrorMessage
  2859. close
  2860. expected.
  2861. #ErrorMessage
  2862. caption cannot have more than 32 characters.
  2863. author
  2864. qcompilecredits
  2865. credits
  2866. qcompilecredits
  2867. textfield
  2868. copyright
  2869. textfield
  2870. Copyright
  2871. Content 
  2872. compiledoc
  2873. compilehelp
  2874. close
  2875. #ErrorMessage
  2876. Misplaced element: 
  2877. #ErrorMessage
  2878. 'header' expected '
  2879. ' found
  2880. inputFile
  2881. mainelement
  2882. textfield
  2883. textstring
  2884. $Title$
  2885. Documentation
  2886. $Shared$
  2887. tagstring
  2888. close
  2889. #ErrorMessage
  2890. close
  2891. expected.
  2892. compilecredits
  2893. $Title$
  2894. plainText
  2895. credits
  2896. compiledoc
  2897. $Shared$
  2898. plainText
  2899. Documentation
  2900. compilehelp
  2901. attribute
  2902. #ErrorMessage
  2903. name must be specified.
  2904. Destination
  2905. textstring
  2906. $Shared$
  2907. tagstring
  2908. close
  2909. #ErrorMessage
  2910. close
  2911. expected.
  2912. compilebody
  2913. changeCursor
  2914. textstring
  2915. tagstring
  2916. process
  2917. makePopup
  2918. oneof
  2919. findformat
  2920. close
  2921. Icompileformat
  2922. close
  2923. #ErrorMessage
  2924. Misplaced element:
  2925. #ErrorMessage
  2926. 'body' expected '
  2927. ' found
  2928. formats
  2929. inputfile
  2930. remark_tag
  2931. mainelement
  2932. compileremark
  2933. attribute
  2934. makePopup
  2935. compileformat
  2936. attribute
  2937. #errorMessage
  2938. name of page must be 32 or less characters.
  2939. initialized
  2940. initialize
  2941. checkobject
  2942. Label
  2943. field
  2944. this background
  2945. checkobject
  2946. Prompt
  2947. field
  2948. this background
  2949. NmakePage
  2950. level
  2951. attribute
  2952. #errorMessage
  2953. List number must be greater than 0
  2954. addpagelist
  2955. addpagelist
  2956. levels
  2957. created
  2958. currentpage
  2959. initialize
  2960. initialize
  2961. xroptional
  2962. xroptional
  2963. setup
  2964. copyGroup
  2965. $Pages$
  2966. copyGroup
  2967. $Contents$
  2968. copyGroup
  2969. $Help$
  2970. $Text$
  2971. $Scripts$
  2972. copyfields
  2973. initialized
  2974. copyGroup
  2975. $Standard$
  2976. background
  2977. background
  2978. paste
  2979. $TextOptions$
  2980. notetaking
  2981. enable "Notes"
  2982. hideNotes
  2983. showNotes
  2984. saveNotes
  2985. 4nsep,nend
  2986. newFilename("SNF") 
  2987. noteFile
  2988. x"$Common$" 
  2989. setup 
  2990.  && p & CRLF & 
  2991. loadNotes
  2992. newFileName("
  2993. previousline
  2994. sysErrorNumber = 559 
  2995. F-- No file
  2996.  error ::" && 
  2997. r&& "
  2998. %" && 
  2999. LF -- skip 
  3000.             --
  3001. notefile
  3002.             --
  3003.  -- empty 
  3004.  & " "
  3005.  "Invalid 
  3006.  ::" && 
  3007. owNotes
  3008. notetaking
  3009. hideNotes
  3010. saveNotes
  3011. showNotes
  3012. loadNotes
  3013. notetaking
  3014. enable
  3015. Notes
  3016. hideNotes
  3017. showNotes
  3018. Notes
  3019. hideNotes
  3020. Notes
  3021. saveNotes
  3022. newFilename
  3023. $Common$
  3024. notetaking
  3025. setup
  3026. Notes
  3027. noteFile
  3028. loadNotes
  3029. newFileName
  3030. Error
  3031. Note file error ::
  3032. Notes
  3033. Error
  3034. Invalid note file ::
  3035. previousline
  3036. noteFile
  3037. System
  3038. ntury Gothic
  3039. $    showCaption
  3040. Small Fonts
  3041. Times New Roman
  3042. Times New Roman
  3043. Times New Roman
  3044. Times New Roman
  3045. Times New Roman
  3046. System
  3047. Times New Roman
  3048. ntury Gothic
  3049. Times New Roman
  3050. Times New Roman
  3051. ntury Gothic
  3052. Terminal
  3053. ExitPassword
  3054. Interactive Document Compiler
  3055. gD|D|
  3056. Times New Roman
  3057. MS Serif
  3058. Times New Roman
  3059. Times New Roman
  3060. ok Antiqua
  3061. mes New Roman
  3062. Times New Roman
  3063. Times New Roman
  3064. Times New Roman
  3065. mes New Roman
  3066. MS Sans Serif
  3067. Arial
  3068. Times New Roman
  3069. Terminal
  3070. Terminal
  3071. Terminal
  3072. qxAbEA
  3073. MS Sans Serif
  3074. System
  3075. MS Sans Serif
  3076. MS Sans Serif
  3077. MS Sans Serif
  3078. Times New Roman
  3079. Times New Roman
  3080. Times New Roman
  3081. SjoNqyA
  3082. ouPxAKe
  3083. IDCpassword
  3084.  Sans Serif
  3085. $Compile$
  3086. Label
  3087. Version
  3088. C:\KEN\IDC\COMPILER\SHELL136.TBKK    
  3089. Created
  3090. 23 December 1993 11:15:59
  3091. Shell created
  3092. $Common$
  3093. 4compiled,usebookmarks,addressstack
  3094. disable "Contents,Notes,CopyText,Visited"
  3095. 2List marked 
  3096. ,Mark 
  3097. ,Unmark 
  3098. anchorstyle 
  3099. "boxed,
  3100. ShowLinks"
  3101. help 
  3102. Help"
  3103. leavebackGround
  3104. "Documentation"
  3105. enable "
  3106. ackground
  3107. enterBackground
  3108. leavebackGround
  3109. enterBackground
  3110. x%disable
  3111. Contents,Notes,CopyText,Visited
  3112. x%disable
  3113. List marked pages,Mark this page,Unmark this page
  3114. anchorstyle
  3115. boxed,invert
  3116. x%disable
  3117. ShowLinks
  3118. x%disable
  3119. compiled
  3120. usebookmarks
  3121. addressstack
  3122. leavebackGround
  3123. Documentation
  3124. enable
  3125. Contents,Notes,CopyText,Visited
  3126. enable
  3127. List marked pages,Mark this page,Unmark this page
  3128. anchorstyle
  3129. boxed,invert
  3130. enable
  3131. ShowLinks
  3132. enable
  3133. compiled
  3134. usebookmarks
  3135.  Computer Based Learning Unit
  3136. The University of Leeds
  3137. Credits
  3138. Documentation
  3139. Start
  3140. firstpage 
  3141. advance 
  3142. buttonUp
  3143. buttonUp
  3144. firstpage
  3145. \$advance
  3146. START
  3147. firstpage
  3148. intro
  3149. intro
  3150. $Control$
  3151. 4monitor,created
  3152. B"Normal" 
  3153. B"Monitor" 
  3154. ? && "
  3155. "Pages"
  3156. B"Read"
  3157. hideButtons l
  3158. showButtons l
  3159. terPage
  3160. hideButtons
  3161. enterPage
  3162. showButtons
  3163. enterPage
  3164. reader
  3165. buttonUp
  3166. Normal
  3167. Monitor
  3168. pages
  3169. Pages
  3170. monitor
  3171. created
  3172. hideButtons
  3173. showButtons
  3174. !~$H%
  3175. authorButtons
  3176. Abandon,Close,Monitor,Normal,Filescripts,Tidyup,Hide,password,Epassword
  3177. $Control$
  3178. About
  3179. "About"
  3180. buttonUp
  3181. buttonUp
  3182. About
  3183. ABOUT IDC
  3184. buttonUp
  3185. buttonUp
  3186. Options
  3187. "$Options$"
  3188. buttonUp
  3189. buttonUp
  3190. $Options$
  3191. Options
  3192. Compile
  3193. Compile
  3194. 4monitor
  3195. makeNewBook
  3196. buttonUp
  3197. buttonUp
  3198. makeNewBook
  3199. monitor
  3200. Detach
  3201. buttonUp
  3202. buttonUp
  3203. Pages
  3204. "Author"
  3205. "Save"
  3206. rightbuttondoubleclick
  3207. rightbuttondoubleclick
  3208. Author
  3209. 0 pages
  3210. Error Information
  3211. Error
  3212. Control
  3213. 4protected
  3214. "Password"
  3215. xIDCpassword 
  3216. "Names"
  3217. "Images"
  3218. "Entities"
  3219. authorButtons 
  3220. "Abandon,Close,Monitor,Normal,Filescripts,Tidyup,Hide,
  3221. ,Epassword"
  3222. showButtons 
  3223. rightButtonDoubleClick
  3224. rightButtonDoubleClick
  3225. Password
  3226. IDCpassword
  3227. Names
  3228. Images
  3229. Entities
  3230. authorButtons
  3231. Abandon,Close,Monitor,Normal,Filescripts,Tidyup,Hide,password,Epassword
  3232. showButtons
  3233. authorButtons
  3234. protected
  3235. Control Screen
  3236. Read will make a preliminary scan of the input file and report errors.
  3237. Compile will create the pages of the output file and report any further errors.
  3238. Detach creates the ToolBook corresponding to the input file.
  3239. Options allows presentation and compiler options to be set.
  3240. Quit aborts.
  3241. Trace
  3242. Close
  3243. 4inputFile
  3244. buttonUp
  3245. buttonUp
  3246. inputFile
  3247. CLOSE INPUT
  3248. Abandon
  3249. 4pagelist,monitor
  3250. pageList
  3251. selectPage
  3252. "$Shared$"
  3253. "BookTitle" 
  3254. "firstpage" 
  3255. "Data" 
  3256. buttonUp
  3257. buttonUp
  3258. pageList
  3259. selectPage
  3260. clear
  3261. $Shared$
  3262. clear
  3263. BookTitle
  3264. $Title$
  3265. firstpage
  3266. $Title$
  3267. $Title$
  3268. pagelist
  3269. monitor
  3270. ABANDON
  3271. filescripts
  3272. path(
  3273. & "utility.tbk" 
  3274. b & "scr" 
  3275. scriptfile
  3276. filescripts 
  3277. buttonUp
  3278. buttonUp
  3279. utility.tbk
  3280. filescripts
  3281. scriptfile
  3282. FILE SCRIPTS
  3283. TidyUp
  3284. "Names"
  3285. "Images"
  3286. "Error"
  3287. "Trace"
  3288. "Entities"
  3289. "About"
  3290. buttonUp
  3291. buttonUp
  3292. Names
  3293. Images
  3294. Error
  3295. Trace
  3296. Entities
  3297. About
  3298. TIDY UP
  3299. "Names"
  3300. "Images"
  3301. "Entities"
  3302. buttonUp
  3303. buttonUp
  3304. Names
  3305. Images
  3306. Entities
  3307. Images
  3308. Names
  3309. Entities
  3310. createshell
  3311. IDCname() 
  3312.  "Shell"
  3313. createShell
  3314.     -- only comes 
  3315. .here 
  3316. aborted
  3317. buttonUp
  3318. buttonUp
  3319. IDCname
  3320. "IDCname
  3321. Shell
  3322. createShell
  3323. "IDCname
  3324. CREATE SHELL
  3325. extractformats
  3326. "FormatBookScript" 
  3327. "$Standard$"
  3328. extractFormats 
  3329. buttonUp
  3330. buttonUp
  3331. FormatBookScript
  3332. $Standard$
  3333. extractFormats
  3334. EXTRACT FORMATS
  3335. addformats
  3336. "Shortly you will see the ToolBook Import dialogue box." & CRLF &\
  3337.     "Select 
  3338. 3option, 
  3339. Cfile containing 
  3340. Udesired formats." & 
  3341.     "NOTE: If 
  3342. click Cancel 
  3343. have 
  3344. use Control-X 
  3345. Exit"
  3346. saveNewIDC
  3347. buttonUp
  3348. buttonUp
  3349. Shortly you will see the ToolBook Import dialogue box.
  3350. Select the ToolBook option, and then import the file containing the desired formats.
  3351. NOTE: If you click Cancel in the dialogue box you will have to use Control-X to Exit
  3352. !import
  3353. saveNewIDC
  3354. ATTACH FORMATS
  3355. Monitor
  3356. 4monitor
  3357. buttonUp
  3358. buttonUp
  3359. monitor
  3360. MONITOR
  3361. minimize
  3362. minimize
  3363. buttonUp
  3364. buttonUp
  3365. Fominimize
  3366. MINIMIZE
  3367. "Suite" 
  3368. "$First$"
  3369. ("Name 
  3370. version 
  3371. the compiler:" 
  3372. IDCname 
  3373. buttonUp
  3374. buttonUp
  3375. Suite
  3376. $First$
  3377. Name this version of the compiler:
  3378. "IDCname
  3379. Normal
  3380. 4protected
  3381. "Names"
  3382. "Images"
  3383. "Entities"
  3384. hideButtons authorButtons 
  3385. buttonUp
  3386. buttonUp
  3387. Names
  3388. Images
  3389. Entities
  3390. hideButtons
  3391. authorButtons
  3392. protected
  3393. NORMAL
  3394. About
  3395. buttonUp
  3396. buttonUp
  3397. About
  3398. The Interactive Document Compiler was developed by:
  3399. Kenneth Tait
  3400. Computer Based Learning Unit
  3401. The University
  3402. Leeds LS2 9JT, UK
  3403. Tel:     +44 532 334628
  3404. Fax:    +44 532 334635
  3405. Email:  ken@uk.ac.leeds.cbl
  3406.              ken@cbl.leeds.ac.uk
  3407.              K.Tait@leeds.ukkk
  3408. DISMISS
  3409. Password
  3410. changePassword
  3411. buttonUp
  3412. buttonUp
  3413. 1tchangePassword
  3414. PASSWORD
  3415. EPassword
  3416. changeExitPassword
  3417. buttonUp
  3418. buttonUp
  3419. 3changeExitPassword
  3420. EXIT PASSWORD
  3421. makePage n,pt
  3422. makeNewPage n
  3423. textstring()
  3424. "Preamble"
  3425. done 
  3426. tagstring()
  3427. process(
  3428. attribute("
  3429. destination(
  3430. & CRLF 
  3431. "Destinations"
  3432. "Menu"
  3433. xclose("o") 
  3434. errorMessage 
  3435. & o & 
  3436. && "expected."
  3437.  -- Should be 
  3438. localTags
  3439. addTags "o"
  3440. initialize
  3441. setup 
  3442. "showmenubar"
  3443. ePage
  3444. localTags
  3445. makePage
  3446. initialize
  3447. makePage
  3448. makeNewPage
  3449. textstring
  3450. Preamble
  3451. tagstring
  3452. process
  3453. attribute
  3454. destination
  3455. Destinations
  3456. textstring
  3457. tagstring
  3458. close
  3459. #errorMessage
  3460. expected.
  3461. textstring
  3462. close
  3463. localTags
  3464. L)addTags
  3465. initialize
  3466. setup
  3467. showmenubar
  3468. Label
  3469. MASTER for Menu
  3470. Prompt
  3471. selectedTextlines 
  3472. "Destinations"
  3473. advance 
  3474. buttonUp
  3475. buttonUp
  3476. Destinations
  3477. \$advance
  3478. Destinations
  3479. Preamble
  3480. Click one of the options.  Use the LEFT mouse button.
  3481. 1993 Computer Based Learning Unit, The University of Leeds v1.0 9312082
  3482. Points
  3483. le MCQ
  3484. Label
  3485. MASTER for MCQple MCQ
  3486. Prompt
  3487. Question
  3488. Options
  3489. "Explanation" 
  3490. selectedTextlines 
  3491. "Correct"
  3492. textlineCount(
  3493. "Options" 
  3494. "The correct answer 
  3495. " && a & "."
  3496. "That's 
  3497. "Feedback" 
  3498. B"Next" 
  3499. buttonUp
  3500. buttonUp
  3501. Explanation
  3502. Correct
  3503. Correct
  3504. Correct
  3505. Options
  3506. The correct answer is
  3507. That's right.
  3508. Feedback
  3509. Explanation
  3510. Correct
  3511. Explanation
  3512. Feedback
  3513. nextpage 
  3514. advance 
  3515. follow
  3516. buttonUp
  3517. buttonUp
  3518. nextpage
  3519. \$advance
  3520. follow
  3521.  Computer Based Learning Unit
  3522. The University of Leeds
  3523. v B 1.0 931201
  3524. Click on one of these...
  3525. ShowLinks
  3526. showlinks
  3527. buttonUp
  3528. buttonUp
  3529. showlinks
  3530. SHOW LINKS
  3531. Active
  3532. Popup
  3533. dismiss
  3534. dismiss
  3535. dismiss
  3536. Popup
  3537. Dismiss
  3538. Dismiss
  3539. buttonUp
  3540. buttonUp
  3541. FDismiss
  3542. DISMISS
  3543. frame
  3544. HyperBook
  3545. $Compile$
  3546. makepage n,pt
  3547. 4lasttag
  3548. makenewpage
  3549. attribute("
  3550. t",pt)
  3551. checkexists 
  3552. nextpage 
  3553. 7image",pt)
  3554. getImage 
  3555. ,0,"tl","frame",
  3556. beforeHypertext "Question","o,x"
  3557. done 
  3558. process(
  3559. ans",t)
  3560. & CRLF 
  3561. "Correct"
  3562. textstring() & 
  3563. "Options"
  3564. tagstring() 
  3565. xclose(n) 
  3566. ErrorMessage 
  3567. && "expected."
  3568. Explanation","x"
  3569. checkforscrollbar("
  3570. 0 && 
  3571. fieldformat 
  3572. illegal 
  3573. -- should be 
  3574. textlineCount(
  3575. errorMessage "There 
  3576. no tag ""o"" 
  3577. fthe 
  3578. ;e too many 
  3579. localtags
  3580. addtags "o,x"
  3581. initialize
  3582. hidden 
  3583. BNext,
  3584. Popup"
  3585. cleared 
  3586. "Feedback"
  3587. setup 
  3588. "hidemenubar,setformat,randomtext ""
  3589. optionalbuttons 
  3590. "showlinks hiddenlinks"
  3591. optionalfields 
  3592. "Active 
  3593. "Click 
  3594. iwhich 
  3595. " && anchorAdjective() && "
  3596. more information." 
  3597. xpermanentAnchors() 
  3598. kSHOW LINKS 
  3599. see them.)" 
  3600. epage
  3601. localtags
  3602. makepage
  3603. initialize
  3604. makepage
  3605. makenewpage
  3606. attribute
  3607. checkexists
  3608. nextpage
  3609. image
  3610. attribute
  3611. _UgetImage
  3612. frame
  3613. beforeHypertext
  3614. Question
  3615. process
  3616. attribute
  3617. Correct
  3618. textstring
  3619. Options
  3620. tagstring
  3621. close
  3622. #ErrorMessage
  3623. close
  3624. expected.
  3625. Hypertext
  3626. Explanation
  3627. Explanation
  3628. checkforscrollbar
  3629. Explanation
  3630. fieldformat
  3631. close
  3632. #ErrorMessage
  3633. is illegal in this format.
  3634. textstring
  3635. tagstring
  3636. Correct
  3637. Correct
  3638. #errorMessage
  3639. There is no tag "o" with the attribute "ans".
  3640. #errorMessage
  3641. There too many tags with the attribute "ans".
  3642. lasttag
  3643. localtags
  3644. L)addtags
  3645. initialize
  3646. hidden
  3647. recordfield Explanation,button Next,group Popup
  3648. cleared
  3649. Feedback
  3650. setup
  3651. hidemenubar,setformat,randomtext "Options,Correct"
  3652. optionalbuttons
  3653. showlinks hiddenlinks
  3654. optionalfields
  3655. Active links
  3656. Click words which are
  3657. anchorAdjective
  3658. for more information.
  3659. Active
  3660. permanentAnchors
  3661.  (Click SHOW LINKS to see them.)
  3662. Active
  3663. Classification
  3664. Responses
  3665. buttonUp
  3666. buttonUp
  3667. Label
  3668. MASTER for Classification
  3669. Prompt
  3670. "Option" 
  3671. B"Explain" 
  3672. selectedTextLines 
  3673. "Picked" 
  3674. Prompt "Select 
  3675. "Responses" 
  3676. buttonUp
  3677. buttonUp
  3678. Option
  3679. Explain
  3680. Picked
  3681. 'Prompt
  3682. Select an item first.
  3683. Responses
  3684. Responses
  3685. Items
  3686. "Picked" 
  3687. selectedTextlines 
  3688. buttonUp
  3689. buttonUp
  3690. Picked
  3691. Picked
  3692. Option
  3693. You may change your choices or click on NOTES to see the correct answers
  3694. and some help or hints..xplanation.
  3695. Right
  3696. All your answers are correct.
  3697. Click on NOTES
  3698. for help or hints..n.
  3699. Instructions
  3700. Choose first from here ...........
  3701.  Computer Based Learning Unit
  3702. The University of Leeds
  3703. v A 2.1 931201
  3704. Explain
  3705. Answers 
  3706. B"OK" 
  3707. "Explanation"
  3708. B"Next" 
  3709. B"OK" 
  3710. buttonUp
  3711. buttonUp
  3712. oEMAnswers
  3713. Explanation
  3714. NOTES
  3715. nextpage 
  3716. advance 
  3717. follow
  3718. buttonUp
  3719. buttonUp
  3720. nextpage
  3721. \$advance
  3722. follow
  3723. ... and then from here. Click OK when you would like your answers checked.
  3724. Explanation
  3725. Correct
  3726. AnsNos
  3727. Picked
  3728. $Scripts$
  3729. option type
  3730.     -- This sets IT 
  3731. options 
  3732. be used 
  3733. fthe Title 
  3734.     -- i.e 
  3735. credits 
  3736. 4temp,emphasis_tag,para_tag,list_tag,headings
  3737. "newline" 
  3738. oneof(
  3739. option
  3740. option
  3741. italic
  3742. newline
  3743. oneof
  3744. newline,bold,space
  3745. emphasis_tag
  3746. para_tag
  3747. list_tag
  3748. headings
  3749. $Text$
  3750. Text field script
  3751. hidelabel
  3752. hidelabel
  3753. "Label" 
  3754. hidelabel
  3755. hidelabel
  3756. Label
  3757. hidelabel
  3758. showmenubar
  3759. showmenubar
  3760. showmenubar
  3761. showmenubar
  3762. showmenubar
  3763. setformat
  3764. setformat
  3765. fieldformat 
  3766. setformat
  3767. setformat
  3768. fieldformat
  3769. setformat
  3770. Standard Scripts
  3771. hidemenubar
  3772. hidemenubar
  3773. hidemenubar
  3774. hidemenubar
  3775. hidemenubar
  3776. randomize
  3777. randomize
  3778. k32767
  3779. randomize
  3780. randomize
  3781. seconds
  3782. randomize
  3783. copying
  3784. copying
  3785. enable "CopyText"
  3786. clearPrompt
  3787. 4markCopyText
  3788. ' "Move the 
  3789. beginning 
  3790. . Then CLICK 
  3791. Smouse 
  3792. copyfields 
  3793. [firstchar 
  3794. copying
  3795. CopyText
  3796. copying
  3797. enable
  3798. CopyText
  3799. clearPrompt
  3800. CopyText
  3801. 'Prompt
  3802. Move the pointer to the beginning of the target text. Then CLICK the left mouse button.
  3803. copyfields
  3804. firstchar
  3805. markCopyText
  3806. copyingrrrrrr
  3807. notetaking
  3808. notetakingggg
  3809. title
  3810. title
  3811. "$Title$"
  3812. title
  3813. title
  3814. title
  3815. $Title$
  3816. Title
  3817. titlellllll
  3818. BookScript
  3819. -- Script 
  3820. compiled 
  3821. 4addressstack
  3822. path(
  3823. "COMM136.TBK" 
  3824. p & b 
  3825.     linkDLL "tbkfile.dll"
  3826.         INT fileExists(STRING)
  3827.         Request "The 
  3828. 8" && b && "
  3829. xpresent 
  3830. directory" && p & "."
  3831. sysSuspendMessages 
  3832.     unLinkDLL "
  3833. setupBook
  3834. ~("\",f) 
  3835. -- Optional handlers ...
  3836. enterBook
  3837. enterBook
  3838. COMM136.TBK
  3839. tbkfile.dll
  3840. fileExists
  3841. fileExists
  3842. The book
  3843. is not present in directory
  3844. tbkfile.dll
  3845. setupBook
  3846. addressstack
  3847. Book Script
  3848. Utilitiessns
  3849. scores
  3850. scoresggggggg
  3851. The script of this page contains the text options for the Title page.
  3852. randomtext
  3853. randomtext rf -- 
  3854. recordfields 
  3855. rf are randomized synchronously
  3856. textlineCount(
  3857. randomtext
  3858. randomtext
  3859. randomtext
  3860. listblanks
  3861. listblanks tl
  3862. textlineCount(
  3863. O(0,blankbegin 
  3864. t,blankend 
  3865. "Text", 
  3866. i && j & CRLF 
  3867. listblanks
  3868. listblanks
  3869. blankbegin
  3870. blankend
  3871. blanks
  3872. j:to1
  3873. listblanks
  3874. Classification
  3875. Options
  3876. $Options$
  3877. makepage n,pt
  3878.     -- Recordfield "Items" 
  3879. cthe 
  3880. [displayed]
  3881. -Correct" 
  3882. )correct answer
  3883. Gsame 
  3884. pAns" 
  3885. ganswers [
  3886. AnsNos" 
  3887. numbers 
  3888.     -- "
  3889. are shuffled synchronously
  3890.     -- "
  3891. 4lasttag
  3892. Zidlist
  3893. makenewpage n
  3894. attribute("
  3895. t",pt)
  3896. checkexists 
  3897. nextpage 
  3898. beforeHypertext "Instructions","i,a,x"
  3899. done 
  3900. acount 
  3901. process(
  3902. textstring() & CRLF 
  3903. tagstring()
  3904. ",tt) 
  3905. idname
  3906. itemnumber(
  3907. F-- repeat
  3908. makeAns nn,
  3909. -- should be 
  3910. xclose(n) 
  3911. errorMessage 
  3912. && "expected."
  3913. /"a omitted."
  3914. Explanation","x"
  3915. checkforscrollbar("
  3916. 0 && 
  3917. fieldformat 
  3918. ErrorMessage n && "
  3919. illegal 
  3920. tag,n
  3921. g) & "
  3922. localtags
  3923. addtags "i,a -,d,x"
  3924. initialize
  3925. setup 
  3926. "hidemenubar,setformat,randomtext ""
  3927. hidden 
  3928. Option,
  3929. Right,
  3930. BExplain,
  3931. BNext"
  3932. shown 
  3933. cleared 
  3934. "Responses,Picked"
  3935. makeAns
  3936. makepage
  3937. localtags
  3938. initialize
  3939. makepage
  3940. makenewpage
  3941. attribute
  3942. checkexists
  3943. nextpage
  3944. beforeHypertext
  3945. Instructions
  3946. i,a,x
  3947. process
  3948. textstring
  3949. Items
  3950. tagstring
  3951. process
  3952. attribute
  3953. itemnumber
  3954. Correct
  3955. j/makeAns
  3956. j/makeAns
  3957. textstring
  3958. tagstring
  3959. close
  3960. #errorMessage
  3961. close
  3962. expected.
  3963. close
  3964. #errorMessage
  3965. a omitted.
  3966. #errorMessage
  3967. a expected.
  3968. textstring
  3969. AnsNos
  3970. tagstring
  3971. close
  3972. #errorMessage
  3973. close
  3974. expected.
  3975. Hypertext
  3976. Explanation
  3977. Explanation
  3978. checkforscrollbar
  3979. Explanation
  3980. fieldformat
  3981. close
  3982. #ErrorMessage
  3983. is illegal in this format.
  3984. textstring
  3985. tagstring
  3986. idname
  3987. acount
  3988. idlist
  3989. lasttag
  3990. makeAns
  3991. textstring
  3992. AnsNos
  3993. Correct
  3994. tagstring
  3995. close
  3996. #errorMessage
  3997. close
  3998. expected.
  3999. localtags
  4000. L)addtags
  4001. i,a -,d,x
  4002. initialize
  4003. setup
  4004. hidemenubar,setformat,randomtext "Items,Correct",randomtext "Ans,AnsNos"
  4005. hidden
  4006. recordfield Explanation,field Option,field Right,button Explain,button Next
  4007. shown
  4008. button OK
  4009. cleared
  4010. Responses,Picked
  4011. X4X48
  4012. #$%W#
  4013. #k$&$;$I$    $g$
  4014.     s(N    q(
  4015. #q    &#
  4016. %E    U%
  4017. #[    U%
  4018. 'B    i''    
  4019. "3.    "b.
  4020. $C-H$
  4021. #N)S#D)
  4022. "I)~"Q)V"`)'"t)
  4023. !A*s!
  4024. #x*7#
  4025. *v#    +
  4026. )W(1)
  4027. (J).)C)])4)
  4028. (-(M(A( (S(
  4029. 'v(d'v(7's(
  4030. &?(y&
  4031. &6&U&w&
  4032. %_'o%
  4033. &U&~&
  4034. '['P'V'{'J'
  4035. '"(    'O(
  4036. '7*O'Z*
  4037. (u*N(d*
  4038. )u)])
  4039. yyx{w
  4040. {{sy7
  4041. syw78
  4042. yw1s8
  4043. y{w8s
  4044.     w8    y
  4045. {w{w{{s
  4046. yyw{{x8
  4047. {{yyw
  4048. {w{y{w
  4049. {y{wx
  4050. wwy{y{w
  4051. y{{{{y
  4052. w{yyy
  4053. wyx0!
  4054. {w{y{{
  4055. wywwww
  4056. 88ywy
  4057. wwwqy{www
  4058. wwwws
  4059. wywws
  4060. {{w{wx
  4061. {{wx8
  4062. ww{wx
  4063. %www0
  4064. {{wxXH
  4065. www{w
  4066. {{w{w88
  4067. {y{{ww
  4068. Qw{w{w{{
  4069. hHHHH
  4070. HhHhHH
  4071. ((hHH
  4072. HHHhH
  4073. hhHhHh
  4074. HHHhH
  4075. HHhH(
  4076. ?wxHh
  4077. w7{xh
  4078. HH(HHHH
  4079. HhH(H
  4080. y{80    
  4081. HhhHH
  4082. hHhHh
  4083. {xHhH
  4084. CHd(HH
  4085. HHHHH$
  4086. HHHHH S
  4087. (HHHH
  4088. %hHHH
  4089. wwwyw
  4090. HhH(HhH
  4091. w78ws
  4092. HHH(H
  4093. H(HH$
  4094. (H(HH
  4095. (H(HHH
  4096. hHhHH
  4097. xHHHHH
  4098. hHHH$
  4099. (HHH`
  4100. HHBHH$
  4101. HHHHHH
  4102. H(HHH
  4103. HHHHHB
  4104. idc136.ico
  4105.